package com.hhit.collaborative_learning.dao;

import java.sql.Connection;
import java.sql.ResultSet;

public interface BBS_TopicDao {
	public int getcount(Connection con, String find);

	public ResultSet query(Connection con, int start, int end,
			String findwhate, String findby, String order, String sort);

	public ResultSet queryOther(Connection con, int start, int end,
			String classid, String label, String state,
			String order, String sort);
	public ResultSet queryforSearch(Connection con, int start, int end,
			String find, String order, String sort);
	public ResultSet queryforUser(Connection con, int start, int end,
			String ID, String state, String order, String sort);
	public int delet(Connection con,String findby,String ids);
	public int insert(Connection con,String text,String title,String labelID,String cid,String uid);
	public int updateHit(Connection con,String find);
}
